/*
 PureMVC AS3 Demo - Flex Application Skeleton 
 Copyright (c) 2007 Daniele Ugoletti <daniele.ugoletti@puremvc.org>
 Your reuse is governed by the Creative Commons Attribution 3.0 License
*/
package com.larson.creator.controller
{
	import flash.filesystem.*;
	import flash.events.Event;
	import flash.net.FileFilter;

    import org.puremvc.as3.interfaces.*;
    import org.puremvc.as3.patterns.command.*;
    import org.puremvc.as3.patterns.observer.*;
    
    import com.larson.creator.*;
    import com.larson.creator.model.*;
    
    public class LoadFileCommand extends SimpleCommand
    {
		private var fileLoadProxy:FileLoadProxy;    
			
        override public function execute( note:INotification ) :void    
		{
			// Get the proxy & start the file load
			fileLoadProxy = facade.retrieveProxy( FileLoadProxy.NAME ) as FileLoadProxy;
			fileLoadProxy.load( );
        }
        
     }
}